(function (cjs, an) {
	var canvas,stage,exportRoot,width,height;
	window.onload=function(){
		//var comp=an.getComposition("69A758A163D00B47829E23C358DABDF5");
		//lib=comp.getLibrary();
		canvas = document.getElementById("canvas");
		lib.properties.width = canvas.clientWidth;
		lib.properties.height =  canvas.clientHeight;
		canvas.width=lib.properties.width;
		canvas.height=lib.properties.height;
		stage = new cjs.Stage(canvas);
		cjs.Touch.enable(stage); //允许设备触控
		stage.enableMouseOver();
		cjs.Ticker.addEventListener("tick", function(e){
			stage.update();
		});
		exportRoot = new lib.Main();
		stage.addChild(exportRoot);
		//console.log(exportRoot.stage);
	}

})(createjs = createjs||{}, AdobeAn = AdobeAn||{});